<div id="mainPanel">
  <div class="companies index">
    <section class="search">
      <h2><?php echo __('Listado de Empresas'); ?></h2>
      <?php echo $this->Form->input('Buscar:', array('class' => 'searchCompany', 'id' => 'searchCompany')) ?>
    </section>
    
    <div id="companies_list">
      <?php echo $this->element('clientCompanies/table'); ?>
    </div>


  </div>
</div>
<script>
  $(document).ready(function(){
        
    //       Ajax Search keys press
    $('#searchCompany').keyup(function() {
      var name = $("#searchCompany").val();
      $("#companies_list").load('<? echo $this->Html->url('search') ?>',{name:name});
    });
        
  });
</script>